Comment.Location Property

Gets or sets the point in the RLO to which the comment applies.

Parent Type: Comment

Namespace: Microsoft.LearningComponents.DataModel

Assembly: Microsoft.LearningComponents.dll

Syntax
C#

public string Location

{ get; set; }
Exceptions
Exception type Condition
InvalidOperationException

Thrown if this LearningDataModel object cannot be written to, or if this is a SCORM 1.2 package.

ArgumentOutOfRangeException

Thrown if the string passed is greater than BaseSchemaInternal.CommentFromLearnerItem.MaxLocationLength

Remarks

In SCORM 2004, this corresponds to cmi.comments_from_learner.n.location.

In SCORM 1.2, this is invalid.

This property represents an RLO defined location string, perhaps as a bookmark to indicate where the comment belongs. The format of this string is freeform and its use is optional.